#!/usr/bin/env python
# coding: utf-8

data = {'res': True, 'data': {'war_id': '20', 'ip': '192.168.10.237:9090', 'code': '96406c084f51bd6a046e10d285d4526fb71f2d1481f26c53896eb79ba6c62eff', 'user_data': {'hp': 26L, 'is_dead': 0, 'hp_recovery_time': 1419950473}, 'is_join_team': 1}}

import json

if __name__ == "__main__":
    #print rdata.replace("'", '''"''').replace('''u"''', '''"''').replace("True", "true").replace("L", "").replace("False", "false").replace("None", "null").replace("(", "[").replace(")", "]").replace("\\u","")
    print json.dumps(data, ensure_ascii=False, indent=2)
    